<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="<%=request.getContextPath() %>/student/addList" method="post">
		姓名:<input type="text" name="students[0].studentName" value=1 />
		性别:<input type="text" name="students[0].studentSex"   value=1 />
		姓名:<input type="text" name="students[1].studentName"  value=2 />
		性别:<input type="text" name="students[1].studentSex"  value=2 />
		姓名:<input type="text" name="students[2].studentName"  value=3 />
		性别:<input type="text" name="students[2].studentSex"  value=3 />
		姓名:<input type="text" name="students[3].studentName"  value=4 />
		性别:<input type="text" name="students[3].studentSex"  value=4 />
		姓名:<input type="text" name="students[4].studentName"  value=5 />
		性别:<input type="text" name="students[4].studentSex"  value=5 />
		<input type="submit" value="添加" />
	</form>
</body>
</html>